import type { PromiseType } from '#types/utils.d'

import SysMenuApi from '#/api/system/menu'

export const PageApi = SysMenuApi.inst

type TableList = PromiseType<ReturnType<typeof PageApi.getPageList>>
export type TableListItem = TableList[number]
